.class Lcom/waiqin365/lightapp/visit/as;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/16 v5, 0x8

    const/4 v2, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/d;

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->b:Ljava/lang/String;

    if-eqz v1, :cond_8

    const-string/jumbo v1, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->b:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->b(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/RelativeLayout;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->e:Ljava/util/ArrayList;

    invoke-static {v1, v3}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-nez v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->h(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Button;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    const/4 v1, -0x1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto/16 :goto_0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/c/e;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/e;->a:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->c(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/c/e;

    invoke-static {v3, v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;Lcom/waiqin365/lightapp/dailyreport/c/e;)Lcom/waiqin365/lightapp/dailyreport/c/e;

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->g(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->j(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/c/e;

    move-result-object v3

    iget-object v3, v3, Lcom/waiqin365/lightapp/dailyreport/c/e;->b:Ljava/lang/String;

    invoke-virtual {v1, v3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->h(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->i(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/Button;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Button;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    const/4 v3, -0x2

    iput v3, v1, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->a()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->k(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)I

    iget v1, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->d:I

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->f:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v0, v1, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :goto_2
    move v1, v2

    :goto_3
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_3
    :goto_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_3

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->l(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v4

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v4

    if-eqz v4, :cond_3

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iput-object v4, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    goto :goto_4

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->o(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/visit/b/p;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/p;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->o(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/visit/b/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/p;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    goto/16 :goto_1

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    goto/16 :goto_1

    :cond_8
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->e(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->f(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/d;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    goto/16 :goto_1

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ao;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    const v3, 0x7f0806f1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    if-eqz v3, :cond_9

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_9

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    :cond_9
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ao;->b()Z

    move-result v3

    if-eqz v3, :cond_c

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->b:Ljava/lang/String;

    if-eqz v3, :cond_b

    const-string/jumbo v3, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->b:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_b

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    if-eqz v1, :cond_a

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_a

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->n(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->p(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)I

    move-result v3

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v1, v3, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->o(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Lcom/waiqin365/lightapp/visit/b/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/p;->notifyDataSetChanged()V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    const v3, 0x7f08058e

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_c
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/as;->a:Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;->m(Lcom/waiqin365/lightapp/visit/RouteVisitManagerActivity;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x2c2 -> :sswitch_1
        0x325 -> :sswitch_0
    .end sparse-switch
.end method
